package org.jeecg.modules.demo.mes.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.jeecg.common.exception.JeecgBootException;
import org.jeecg.modules.demo.mes.entity.MesMaterialDetails;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * @Description: 物料明细表
 * @Author: jeecg-boot
 * @Date:   2022-10-27
 * @Version: V1.0
 */
public interface MesMaterialDetailsMapper extends BaseMapper<MesMaterialDetails> {

    List<MesMaterialDetails> queryMaterialDetailsSelective(Map<String, Object> cxMap);

    void removeByMainId(@Param("mainId") String mainId)throws JeecgBootException;

    void resetMaterialDetailByProcedureMaterialBomId(@Param("procedureMaterialBomId") String procedureMaterialBomId)throws JeecgBootException;
}
